package com.ruoyi.warning.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.warning.domain.entity.Device;
import com.ruoyi.warning.domain.query.DeviceQuery;
import com.ruoyi.warning.domain.vo.DeviceVO;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author chenhc
 * @since 2025-03-26
 */
public interface DevicesMapper extends BaseMapper<Device> {

    List<Device> list();

    List<DeviceVO> getAllDevicesPage(DeviceQuery query);

    List<String> getRoleDevice(Long userId);
}
